package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.Purchaseplan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface PurchaseplanMapper {
    List<Purchaseplan> selectPurchaseplans(@Param("purchaseplan") Purchaseplan purchaseplan, @Param("home") int home, @Param("limit") int limit);

    int getCount(@Param("purchaseplan") Purchaseplan purchaseplan);

    int updatePurchaseplan(Purchaseplan purchaseplan,@Param("empId") String empId);

    int deletepurchaseplan(String pupId);

    int insertPurchasePlan(Purchaseplan purchaseplan);
}
